#include <iostream>
#include<algorithm>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() 
{
//	int a,b,c;
//	cin>>a>>b>>c;
//	cout<<b<<endl;
	
	char ch;
	cin>>ch;
	cout<<"  "<<ch<<endl;
	cout<<" "<<ch<<ch<<ch<<endl;
	cout<<ch<<ch<<ch<<ch<<ch<<endl;
	return 0;
}



